<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./style.css">
    <title>标签页组件</title>
</head>
<body>
    <div id="app" v-cloak>
        <tabs v-model="activeKey">
            <pane label="标签一" name=1>
                不学了1
            </pane>
            <pane label="标签二" name=2>
                不学了2
            </pane>
            <pane label="标签三" name=3>
                不学了3
            </pane>
        </tabs>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <script src="./pane.js"></script>
    <script src="./tabs.js"></script>
    <script>
        let app = new Vue({
            el: '#app',
            data(){
                return {
                    activeKey: '1'
                }
            }
        })
    </script>
</body>
</html>